sum_dict = {3: 0, 7: 0, 13: 0, 19: 0, 23: 0, 29: 0}  # 初始化每个倍数的和为0 
for i in range(1,10000):
    for number in sum_dict:
        if i % number == 0:
            # 如果是，则累加对应的倍数和  
            sum_dict[number] += i 
  
# 每个倍数的和  
for number, sum_value in sum_dict.items():  
    print(f"{number}的倍数的和为: {sum_value}")  
  
# 计算所有倍数的总和  
total_sum = sum(sum_dict.values())  
print(f"所有3,7,13,19,23,29的倍数的总和为: {total_sum}")
            